package com.tom.baseComponent;

import com.tom.baseComponent.service.IUserService;
import com.tom.baseComponent.service.impl.UserServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zx
 * @date 2024-08-31 12:07
 */
@Configuration
public class AppConfig {

    @Bean
    public IUserService userService() {
        return new UserServiceImpl();
    }
}
